4.3
MEDIUM CVSS 2.0
CVE-2009-3009
Ruby on Rails XSS Injection
Description

Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.

INFO

Published Date :

Sept. 8, 2009, 6:30 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2009-3009 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rubyonrails rails
1 Activesupport_project activesupport
1 Actionpack_project actionpack
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
Solution
This vulnerability allows for cross-site scripting, and should be mitigated by updating Ruby on Rails.
  • Update the Ruby on Rails packages to the latest version.
  • Configure applications to use the latest available version by running 'rake rails:update' inside the application directory.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2009-3009.

URL Resource
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063
http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source Patch
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html
http://secunia.com/advisories/36600 Vendor Advisory
http://secunia.com/advisories/36717 Vendor Advisory
http://securitytracker.com/id?1022824 Patch
http://support.apple.com/kb/HT4077
http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails
http://www.debian.org/security/2009/dsa-1887
http://www.osvdb.org/57666
http://www.securityfocus.com/bid/36278
http://www.vupen.com/english/advisories/2009/2544 Patch Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/53036
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063
http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source Patch
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html
http://secunia.com/advisories/36600 Vendor Advisory
http://secunia.com/advisories/36717 Vendor Advisory
http://securitytracker.com/id?1022824 Patch
http://support.apple.com/kb/HT4077
http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails
http://www.debian.org/security/2009/dsa-1887
http://www.osvdb.org/57666
http://www.securityfocus.com/bid/36278
http://www.vupen.com/english/advisories/2009/2544 Patch Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/53036
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2009-3009 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2009-3009 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2009-3009 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2009-3009 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063
    Added Reference http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source
    Added Reference http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html
    Added Reference http://secunia.com/advisories/36600
    Added Reference http://secunia.com/advisories/36717
    Added Reference http://securitytracker.com/id?1022824
    Added Reference http://support.apple.com/kb/HT4077
    Added Reference http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails
    Added Reference http://www.debian.org/security/2009/dsa-1887
    Added Reference http://www.osvdb.org/57666
    Added Reference http://www.securityfocus.com/bid/36278
    Added Reference http://www.vupen.com/english/advisories/2009/2544
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/53036
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.3.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.3.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.2.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.1.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 17, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/53036 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/53036 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 09, 2009

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.63 }} -3.46%

score

0.80206

percentile